<div class="centreForm">
    <h1>Add Accessory</h1>
    <c:if test="${!empty addAccessoryFailureFlag}">
        <p class="message errorMessage">Unable to add accessory to the database.</p>
    </c:if>
    <c:if test="${!empty accessoryName}">
        <p class="message confirmationMessage">${accessoryName} has been added to the database.</p>
    </c:if>
    <form method="post" action="<c:url value='/catalogue/accessories/new'/>">
        <fieldset>
            <legend>Accessory Details</legend>
            <label for="manufacturer">Manufacturer:</label><input type="text" name="manufacturer" id="manufacturer" /><br />
            <script type="text/javascript">$("input#manufacturer").focus();</script>
            <label for="make">Make:</label><input type="text" name="make" /><br />
            <label for="price">Price:</label><input type="text" name="price" /><br />
            <label for="accessoryType">Accessory Type:</label><input type="text" name="accessoryType" /><br />
            <input type="submit" class="submit" value="Add Accessory" />
        </fieldset>
    </form>
</div>


